package com.river.boot.biz.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.river.boot.biz.model.entity.ProductCategory;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.river.boot.biz.model.query.ProductCategoryQuery;
import com.river.boot.biz.model.vo.ProductCategoryVO;
import org.apache.ibatis.annotations.Mapper;

/**
 * 菜品分类Mapper接口
 *
 * @author JiangCheng Xiang
 * @since 2025-04-24 17:12
 */
@Mapper
public interface ProductCategoryMapper extends BaseMapper<ProductCategory> {

    /**
     * 获取菜品分类分页数据
     *
     * @param page 分页对象
     * @param queryParams 查询参数
     * @return
     */
    Page<ProductCategoryVO> getProductCategoryPage(Page<ProductCategoryVO> page, ProductCategoryQuery queryParams);

}
